<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>监控页 - 线框图原型</title>
  <style>
    body {
      margin: 0;
      padding: 0;
      background: #f6f7fb;
      font-family: Arial, sans-serif;
    }
    .header-bar {
      background: #fff;
      padding: 16px 32px 0 32px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid #e0e0e0;
    }
    .breadcrumb {
      color: #888;
      font-size: 0.95rem;
      flex: 1;
    }
    .user-bar {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .main {
      margin: 0 auto;
      max-width: 1200px;
      padding: 24px 0 0 0;
    }
    .title {
      font-size: 2rem;
      font-weight: bold;
      margin: 24px 0 8px 0;
      color: #232946;
    }
    .desc {
      color: #888;
      font-size: 1.05rem;
      margin-bottom: 12px;
    }
    .stats-row {
      display: flex;
      gap: 24px;
      margin-bottom: 24px;
      justify-content: flex-start;
    }
    .stat-card {
      flex: 1;
      min-width: 220px;
      background: linear-gradient(90deg, #6a9cfb 0%, #f7b731 100%);
      color: #fff;
      border-radius: 18px;
      padding: 32px 24px;
      text-align: left;
      font-size: 1.3rem;
      font-weight: bold;
      box-shadow: 0 2px 8px rgba(80, 60, 180, 0.06);
      position: relative;
    }
    .stat-label {
      font-size: 1.1rem;
      color: #fff;
      font-weight: normal;
      margin-bottom: 8px;
      display: block;
    }
    .stat-value {
      font-size: 2rem;
      color: #fff;
      font-weight: bold;
    }
    .chart-section {
      display: flex;
      gap: 24px;
      margin-bottom: 24px;
    }
    .chart-card {
      flex: 1;
      background: #fff;
      border-radius: 18px;
      padding: 24px 18px;
      min-height: 220px;
      box-shadow: 0 2px 8px rgba(80, 60, 180, 0.06);
      margin-bottom: 0;
    }
    .chart-title {
      font-size: 1.1rem;
      color: #6a9cfb;
      font-weight: bold;
      margin-bottom: 8px;
    }
    .chart-placeholder {
      width: 100%;
      height: 120px;
      background: linear-gradient(180deg, #e0e7ff 0%, #f6f7fb 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #a084ee;
      font-size: 1.2rem;
      font-style: italic;
    }
    .service-section {
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 2px 8px rgba(80, 60, 180, 0.06);
      padding: 24px 18px;
      margin-bottom: 32px;
    }
    .service-title {
      font-size: 1.1rem;
      color: #3ecf8e;
      font-weight: bold;
      margin-bottom: 12px;
    }
    .service-row {
      display: flex;
      gap: 16px;
      margin-bottom: 12px;
    }
    .service-input, .service-select {
      padding: 8px 12px;
      border: 1px solid #e0e0e0;
      border-radius: 6px;
      font-size: 1rem;
      background: #f6f7fb;
    }
    .btn-primary {
      background: #6a9cfb;
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 10px 20px;
      font-size: 1rem;
      font-weight: bold;
      cursor: pointer;
      margin-left: 8px;
    }
  </style>
</head>
<body>
  <div class="header-bar">
    <div class="breadcrumb">首页 / 监控页</div>
    <div style="flex:1"></div>
    <button class="btn-primary">刷新数据</button>
    <div class="user-bar">
      <span style="font-size:1.1rem; color:#888;">superadmin</span>
    </div>
  </div>
  <div class="main">
    <div class="title">系统监控 <span style="font-size:1.1rem;color:#f7b731;font-weight:normal;">（实时监控信息）</span></div>
    <div class="desc">实时监控系统运行状态，最后更新：17:09:39</div>
    <div class="stats-row">
      <div class="stat-card" style="background:linear-gradient(90deg,#6a9cfb 0%,#3e8cf8 100%);">
        <span class="stat-label">CPU 使用率</span>
        <span class="stat-value">18.8%</span>
        <div style="height:8px;background:#e0e0e0;border-radius:4px;margin-top:12px;">
          <div style="width:18.8%;height:8px;background:#3e8cf8;border-radius:4px;"></div>
        </div>
      </div>
      <div class="stat-card" style="background:linear-gradient(90deg,#f7b731 0%,#f6d365 100%);">
        <span class="stat-label">内存使用</span>
        <span class="stat-value">75%</span>
        <div style="height:8px;background:#e0e0e0;border-radius:4px;margin-top:12px;">
          <div style="width:75%;height:8px;background:#f7b731;border-radius:4px;"></div>
        </div>
      </div>
      <div class="stat-card" style="background:linear-gradient(90deg,#f7b731 0%,#f6d365 100%);">
        <span class="stat-label">磁盘空间</span>
        <span class="stat-value">79%</span>
        <div style="height:8px;background:#e0e0e0;border-radius:4px;margin-top:12px;">
          <div style="width:79%;height:8px;background:#f7b731;border-radius:4px;"></div>
        </div>
      </div>
      <div class="stat-card" style="background:linear-gradient(90deg,#6a9cfb 0%,#3e8cf8 100%);">
        <span class="stat-label">活跃连接</span>
        <span class="stat-value">57个</span>
        <div style="height:8px;background:#e0e0e0;border-radius:4px;margin-top:12px;">
          <div style="width:57%;height:8px;background:#6a9cfb;border-radius:4px;"></div>
        </div>
      </div>
    </div>
    <div class="chart-section">
      <div class="chart-card">
        <div class="chart-title">CPU 使用率</div>
        <div class="chart-placeholder">[ 折线图占位 ]</div>
      </div>
      <div class="chart-card">
        <div class="chart-title">内存使用情况</div>
        <div class="chart-placeholder">[ 折线图占位 ]</div>
      </div>
    </div>
    <div class="service-section">
      <div class="service-title">服务状态监控</div>
      <div class="service-row">
        <input class="service-input" type="text" placeholder="搜索服务..." />
        <select class="service-select">
          <option>状态筛选</option>
        </select>
        <button class="btn-primary">诊断服务</button>
      </div>
      <div style="margin-top:16px;color:#888;font-size:0.98rem;">此处为服务状态列表占位</div>
    </div>
  </div>
</body>
</html>
